package com.shangcheng.server.service.impl;

import com.baomidou.mybatisplus.core.injector.methods.SelectList;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shangcheng.dubbo.api.PrefrenceAreaApi;
import com.shangcheng.model.domain.PrefrenceArea;
import com.shangcheng.server.mapper.PrefrenceAreaMapper;
import com.shangcheng.server.service.PrefrenceAreaService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author JavaClimber
 * @version 1.0
 * @date 2022/5/12 0012 zihao
 */
@Service
@Slf4j
public class PrefrenceAreaServiceImpl extends ServiceImpl<PrefrenceAreaMapper,PrefrenceArea> implements PrefrenceAreaService {

@Autowired
private PrefrenceAreaMapper prefrenceAreaMapper;

    @Override
    public List<PrefrenceArea> listAll() {
        return list();
    }


}
